﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class admin_Page_Error : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        // Redirect to Main.aspx
        // in case the browser doesnot allow javascript function
        Response.Write("<meta http-equiv='Refresh' content='10; URL=Main.aspx'>");
    }
    protected void LoginStatus1_LoggingOut(object sender, LoginCancelEventArgs e)
    {
        Session.Abandon();
        Session.Contents.RemoveAll();
        FormsAuthentication.SignOut();
    }
}
